package lab02.text12;

public class shape {
    double area;
    double perimeter;
    //方法：求面积和周长，方法的体内容为空
    double getArea (){
        return area;
    }
    double  getPerimeter (){
        return perimeter;
    }
}
